import type { RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/layout-header-sider.vue'
const routes: RouteRecordRaw[] = [
  {
    path: '/example',
    redirect: '/example/xlsx',
    component: Layout,
    meta: { title: 'example', icon: 'StreamlineEmojisAirplane' },
    children: [
      {
        path: 'xlsx',
        component: () => import('@/example/xlsx.vue'),
        meta: { title: 'xlsx', icon: 'StreamlineEmojisBulletTrain' },
      },
      {
        path: 'graph',
        component: () => import('@/example/graph.vue'),
        meta: { title: 'graph', icon: 'StreamlineEmojisBulletTrain' },
      },
      {
        path: 'table',
        component: () => import('@/example/table.vue'),
        meta: { title: 'table', icon: 'StreamlineEmojisBulletTrain' },
      },
      {
        path: 'drag',
        component: () => import('@/example/drag.vue'),
        meta: { title: 'drag', icon: 'StreamlineEmojisBulletTrain' },
      },
    ],
  },
]

export default routes
